﻿using MediatR;
using Warehouse.Domian.Model;
using Warehouse.ErrorCode;

namespace Warehouse.Api.Write.AllCation.Command.Shifing
{
    public class AddShiftingCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 移库单号
        /// </summary>
        public string TransferId { get; set; }
        /// <summary>
        /// 移库类型
        /// </summary>
        public int STId { get; set; }
        /// <summary>
        /// 移库管理信息表
        /// </summary>
        public string AssociatedOrderNumber { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string PreparedName { get; set; }
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime PreparedTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 产品Id
        /// </summary>
        public int ProductId { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string Bacth { get; set; }
        /// <summary>
        /// 商品单价
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 移库和调拨数量
        /// </summary>
        public int IncomingQuantity { get; set; }
        /// <summary>
        /// 当前库位Id
        /// </summary>
        public int CurrentstorageId { get; set; }
        /// <summary>
        ///单价
        /// </summary>
        public decimal Totalprice { get; set; }
        /// <summary>
        /// 移库的Id
        /// </summary>
        public int CurrentstorageshiftId { get; set; }
    }
}
